.payment-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  margin-bottom: 80px;
}

.payment-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-left: -32px;
}

.payment-order-info {
  background: white;
  margin-bottom: 5px;
  padding: 16px;
}

.order-summary {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.order-no {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.order-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.amount-label {
  color: #666;
  font-size: 14px;
}

.amount-value {
  color: #ff6b35;
  font-size: 24px;
  font-weight: bold;
}

.order-details {
  padding-top: 16px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.detail-item.discount {
  color: #52c41a;
}

.payment-methods-section {
  background: white;
  margin-bottom: 12px;
  padding: 16px;
}

.section-title {
  font-size: 16px;
  font-weight: 500;
  /* margin-bottom: 16px; */
}

.payment-methods .payment-method-item {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.payment-methods .payment-method-item:last-child {
  margin-bottom: 0;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 16px;
}

.payment-icon {
  font-size: 24px;
  /* margin-right: 12px; */
  width: 32px;
  text-align: center;
}

.payment-info {
  flex: 1;
}

.payment-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.payment-desc {
  color: #666;
  font-size: 12px;
}

.security-tip {
  background: white;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.payment-footer {
  position: fixed;
  bottom: 0;
  background: white;
  padding: 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 70px;
  width: 375px;
}

.payment-amount {
  flex: 1;
  font-size: 14px;
}

.final-amount {
  color: #ff6b35;
  font-size: 18px;
  font-weight: bold;
}

.pay-btn {
  height: 44px;
  border-radius: 22px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
}

.payment-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.loading-text {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
}

.loading-tip {
  margin-top: 8px;
  color: #666;
  font-size: 14px;
}

/* 支付二维码弹窗样式 */
.payment-qr-modal .ant-modal-header {
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.payment-qr-modal .ant-modal-body {
  padding: 24px;
}

.qr-payment-content {
  text-align: center;
}

.qr-amount {
  font-size: 24px;
  font-weight: bold;
  color: #ff6b35;
  margin-bottom: 24px;
}

.qr-code-container {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.payment-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.success-text {
  font-size: 16px;
  font-weight: 500;
  color: #52c41a;
}

.payment-progress-section {
  margin-bottom: 24px;
}

.payment-status-text {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

.payment-tips {
  text-align: left;
  margin-bottom: 24px;
}

.tip-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
}

.tip-icon {
  margin-right: 8px;
  font-size: 16px;
}

.payment-error {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.error-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.error-content h3 {
  margin-bottom: 16px;
  color: #ff4d4f;
}

.error-content p {
  margin-bottom: 24px;
  color: #666;
}

/* 支付方式显示 */
.payment-method-display {
  background: white;
  padding: 16px;
  margin-bottom: 8px;
}

.selected-payment-method {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px;
}

.payment-method-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-method-info .payment-icon {
  font-size: 24px;
}

.payment-method-info .payment-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
} 